package com.vhall.component.service.room;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vhall.component.entity.room.entity.RoomWhitePhoneRelationEntity;

import java.util.Collection;
import java.util.Set;

/**
* @author a1111
* @description 针对表【room_white_phone_relation(房间和白名单的关联表,设置可观看用户范围)】的数据库操作Service
* @createDate 2023-10-26 13:26:34
*/
public interface RoomWhitePhoneRelationService extends IService<RoomWhitePhoneRelationEntity> {
    /**
     * 批量修改房间,超高,关联的手机号白名单
     * @param whiteFileId 白名单文件 id
     * @param ilId 房间id
     * @param roomDraftRecordId 草稿id
     */
    void batchChangeRoomWhitePhoneRelationInfo(Integer whiteFileId, Integer ilId, Integer roomDraftRecordId);

    /**
     * 获取当前所有的白名单手机号数据
     * @return
     */
    Set<String> getCacheAllWhitePhoneList();
    boolean saveBatch(Collection<RoomWhitePhoneRelationEntity> entityList);

}
